package com.devunion.salon.core.model;

import javax.persistence.OneToOne;
import javax.persistence.Entity;

/**
 * @author spetrakovsky  23.02.2009
 */
@Entity
public class Vendor extends BaseSalonEntity {

    private String code;

    @OneToOne
    private Address address;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }
}
